@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">
            <input id="id" name="" value="${item.id}"type="hidden"/>
            <input id="purState" name="" value="${item.purState}"type="hidden"/>

            <div class="row">
                <div class="col-sm-6 b-r">
                            <#input id="purId" name="采购单号" value="${item.purId}" underline="true"/>
                            <#input id="purFax" name="传真" value="${item.purFax}" underline="true"/>
                            <#input id="purPic" name="负责人" value="${item.purPic}" underline="true"/>
                            <#input id="purPicTel" name="负责人电话" value="${item.purPicTel}" underline="true"/>
                            <#input id="purSupplier" name="供应商" value="${item.purSupplier}" underline="true"/>
                            <#input id="purSupplierTel" name="供应商电话" value="${item.purSupplierTel}" />

                </div>

                <div class="col-sm-6">
                            <#input id="purAdress" name="采购地址" value="${item.purAdress}" underline="true"/>
                            <#input id="purPayType" name="采购类型" value="${item.purPayType}" underline="true"/>
                            <#input id="purDate" name="采购日期" value="${item.purDate}" underline="true" type="text"/>
                            <#input id="purNumber" name="采购数量" value="${item.purNumber}" underline="true"/>
                            <#input id="purName" name="采购名称" value="${item.purName}" underline="true"/>
                            <#input id="purSpec" name="采购规格" value="${item.purSpec}" />
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="PurchaseInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="PurchaseInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/caigou/purchase/purchase_info.js"></script>
<script>
    laydate.render({
    elem:'#purDate'
    ,type:'datetime'
    });
</script>
@}
